// Copyright 2007 Google, Inc. All Rights Reserved.

package com.google.jessewilson.codesearch.api;

import java.net.URI;

/**
 * @author jessewilson
 */
public class FileOrigin implements CodeFileExtra {

  private String authorName;
  private URI authorUri;
  private String title;
  private String rights;

  public String getAuthorName() {
    return authorName;
  }

  public void setAuthorName(String authorName) {
    this.authorName = authorName;
  }


  public URI getAuthorUri() {
    return authorUri;
  }

  public void setAuthorUri(URI authorUri) {
    this.authorUri = authorUri;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  /**
   * The file license, such as "GPL" or "Apache".
   */
  public String getRights() {
    return rights;
  }

  public void setRights(String rights) {
    this.rights = rights;
  }

}
